using System;
using System.Collections.Generic;

namespace CSP.Model.CSP
{
    [Serializable]
    public class UserCredit
    {
        public UserCredit()
        {
            this.CreditLines = new List<CreditLine>();
        }

        public int id { get; set; }
        public string username { get; set; }
        public int ServiceCredit { get; set; }
        public int ConsumeCredit { get; set; }
        public int ServiceAbility { get; set; }
        public int ServiceAttitude { get; set; }
        public int CreditCount { get; set; }
        public byte[] LastModified { get; set; }
        public Nullable<System.DateTime> CreateTime { get; set; }
        public virtual ICollection<CreditLine> CreditLines { get; set; }
    }
}
